home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1996 November
/
Chip 11-96.iso
/
treiber
/
grafik
/
datapat
/
q2000
/
install
/
qinit.doc
< prev
next >
Wrap
Text File
|
1991-11-28
|
13KB
|
324 lines
RELEASE NOTES
for
Version 2.09
of the
Configurable Initialization Program
and its companion
Interactive Configuration File Editor.
In the notes below where Q-PC is used it refers to either a Q-PC, Q-MCA or a
Q2000 board.
QINIT
NAME
QINIT - configurable Q-PC board initializer.
SYNOPSIS
QINIT [-a] [-b] [-f font_xy] [-h] [-i screen_initial_xy] [-o po_ctrl]
[-p] [-q qpc_no] [-s] [-v] [config file]
DESCRIPTION
All the above parameters to QINIT are optional.
QINIT's primary and default operation is to initialize the first Q-PC
board in your computer with the set of parameters contained in the
configuration file, and inform the Q-PC hardware characteristics
driver of the board's hardware characteristics.
If the Q-PC hardware characteristics driver is not resident when a Q-PC
board number greater than one is specified or when a Q-PC hardware
characteristic differing from the following defaults:-
Q-PC board base address (0300H)
Q-PC board interrupt request number (IRQ) (10)
Q-PC board DMA channel (7)
Q-PC board memory size X (2048)
Q-PC board memory size Y (1024)
Q-PC board memory fold (1024)
Q-PC board planes (0x0f)
is specified, the board initialization will be aborted.
The initialization sequence is :-
1. Reset the QPDM.
2. Initialize the QPDM monitor parameters.
3. Set up the Q-PC hardware characteristics driver.
4. Set the default QPDM drawing modes.
5. Clear all of the video memory.
6. Initialize the palette.
7. Load a 9 by 14, a 11 by 20 & a 12 by 24 font into the
off screen memory.
8. Display the Datapath company logo and a
`initialization completed statement'.
If a file extension is not specified for the `config file' QCF is
assumed. If your `config file' has not got a file extension you must
enter a '.' after the file name. The file extension BAK is not allowed.
If `config file' is omitted, the default file QPC.QCF is used. You may
copy the configuration file for your `favourite' monitor to this file
to save typing. When no disk drive or path has been specified as part
of the `config file' specification, the following actions are taken:-
1) the configuration file is looked for in the current
directory.
2) if the file wasn't found then
a) if the environment variable QCFDIR is set, the path found
there is used to specify the directory where the configuration
file should be found.
b) otherwise the directories specified in the PATH environment
variable are searched for the configuration file.
The other options allow you to do the following :-
-a allows the Q-PC hardware characteristics driver to be
`avoided' for the storage of memory information ie if this
option is used the Q-PC hardware characteristics driver need
not be present in memory even if the board being initialized
has a memory configuration to the default.
THIS OPTION IS INTENDED FOR DEBUGGING PURPOSES ONLY AND SHOULD
NOT GENERALLY BE USED.
-b turns on backwards compatibility with versions of
QINIT/QCONFIG prior to 2.00. It may be required if
drivers/utilities issued prior to 1st June 1990, by Datapath,
or non-Datapath drivers are used. See `technical information'
later on if you want to see what it affects. It is ignored in
the Q2000 versions of QINIT/QCONFIG.
-f font_xy, where font_xy is either:-
1) a QPDM absolute X, Y address pair (entered as 1280,0 or
"1280 0" for example), specifies the top left hand corner of
the area where the fonts should be stored. They are stored,
by default, just off the screen at the top right for memory
configurations except F, G & H where they are stored just off
the screen at the bottom left.
2) the letter 'r', specifies that the top left hand corner
of the area where the fonts should be stored, should be just
off the screen at the top right.
3) the letter 'b', specifies that the top left hand corner
of the area where the fonts should be stored, should be just
off the screen at the bottom left.
4) the letter 'x', specifies that the fonts should be stored,
at the top right as far over in x as possible.
5) the letter 'y', specifies that the fonts should be stored,
at the bottom left as far down in y as possible.
6) the letter 'v', specifies that the fonts should be stored,
in the correct place for the Vutrax driver.
-h performs a hard reset of the Q-PC board. A hard reset is
items 1 and 2 of the initialization sequence described above.
Note that -s has precedence over -h therefore if they are both
specified only the -s will be executed.
-i screen_initial_xy, where screen_initial_xy is a QPDM
absolute X, Y address pair (entered as 1280,0 or "1280 0" for
example), specifies the top left hand corner of the screen.
The default coordinates for the top left hand corner of the
screen when this option isn't specified, are 0,0. This option
is provided so that off screen memory may be examined on a UNIX
system. It is designed to be used with the -h option so that
the memory isn't altered.
-o po_ctrl, where po_ctrl means palette overlay control and can
be `on', `off' or a number, controls the overlaying of the
bottom half of the video memory or which planes of the video
memory are to be displayed by the palette. Note that this
option is only effective if the palette is initialized.
-p allows you to specify that only the palette should be
initialized. Hence the board parameters, monitor parameters
and initialization completed statement need not be present in
the `config file'. Note that if -p is specified with -s, the
palette will be initialized with QINIT's default palette data,
not the palette data in a 'config file'.
-q qpc_no, where qpc_no is a base 10 number, is used to specify
which Q-PC board in the computer that the parameters in the
`config file' refer to, and hence for which board the hardware
characteristics from the configuration file should be stored in
the Q-PC hardware characteristics driver.
-s performs a soft reset of the Q-PC board. A soft reset is
items 4, 5 and 7 of the initialization sequence described above.
Note that if -s is specified a `config file' is never read, even
if one is given.
-v causes the version number message to be issued. The board
is not initialized if this option is given.
The -f & -o options should only really be used when instructed to do so
in the installation instructions of a Q-PC driver.
The -h, -s & -p options do not inform the Q-PC hardware characteristics
driver of the boards hardware characteristics but rely on the
characteristics previously set into the driver.
QINIT returns the following exit codes:-
0 - File parsed and Q-PC graphics board initialized O.K.
1 - Q-PC graphics board initialization completed incorrectly.
2 - A invalid file specification was given on the shell command
line.
3 - The file specified could not be found.
4 - There were invalid options on the shell command line.
5 - There was an erroneous parameter in one of the obligatory
sections found in the file.
6 - The Q-PC hardware characteristics driver was not resident
when a Q-PC board number greater than one was specified or
when a Q-PC hardware characteristic differing from the
following defaults:-
Q-PC board base address (0300H)
Q-PC board interrupt request number (IRQ) (10)
Q-PC board DMA channel (7)
Q-PC board memory size X (2048)
Q-PC board memory size Y (1024)
Q-PC board memory fold (1024)
7 - The Q-PC board number specified was reported as invalid by
the Q-PC hardware characteristics driver.
8 - The Q-PC board was found to be incorrectly initialized when
trying to perform a soft reset operation or palette
initialization.
9 - The version message option was given therefore QINIT gave
the requested version message then exited.
EXAMPLES
QINIT cotron64
-- initializes according to parameters in COTRON64.QCF
QINIT
-- initializes according to parameters in QPC.QCF
THE CONFIGURATION FILES
The configuration files end in .QCF (for Q-PC ConFiguration). You can edit
these files with the Interactive Configuration File Editor or with a text
editor IF YOU KNOW WHAT YOU'RE DOING, using the text editor being the harder
of the two.
Note: The monitor vertical parameters in the configuration file relate to the
field and so when using interlacing they are half the values for the frame.
Configuration files, for the supported Q-PC board and monitor combinations, are
built using the utility QCFBUILD.
QCONFIG
NAME
QCONFIG - the interactive configuration file editor program.
SYNOPSIS
QCONFIG [-a] [-b] [-q qpc_no] [config file]
DESCRIPTION
All the above parameters to QCONFIG are optional and have the following
functions :-
-a allows the Q-PC hardware characteristics driver to be
`avoided' for the storage of memory information ie if this
option is used the Q-PC hardware characteristics driver need
not be present in memory even if the board being initialized
has a memory configuration to the default.
THIS OPTION IS INTENDED FOR DEBUGGING PURPOSES ONLY AND SHOULD
NOT GENERALLY BE USED.
-b turns on backwards compatibility with versions of
QINIT/QCONFIG prior to 2.00. It may be required if
drivers/utilities issued prior to 1st June 1990, by Datapath,
or non-Datapath drivers are used. See `technical information'
later on if you want to see what it affects. It is ignored in
the Q2000 versions of QINIT/QCONFIG.
-q qpc_no, where qpc_no is a base 10 number, is used to specify
which Q-PC board, in the computer, the parameters in the `config
file' refer to and hence for which board, the hardware
characteristics from the configuration file should be stored in
the Q-PC hardware characteristics driver.
`config file' is a configuration file specification and is used
to specify the configuration file you initially wish to edit
with QCONFIG. If a file extension is not specified for the
`config file' QCF is assumed. If your `config file' has not got
a file extension you must enter a '.' after the file name. The
file extension BAK is not allowed.
QCONFIG is entirely menu driven and its operation should be self
explanatory to its intended users - persons familiar with the
operation of monitors and the Q-PC boards.
Note: The Initialization Completed Correctly Statement is only saved
in the configuration file if it is altered from the default of
'Initialization Completed', similarly only the palette colours that are
altered from their default values, which can be seen by looking at the
Palette Colours menu when you haven't read in a configuration file, are
saved.
Once you have created a configuration file with QCONFIG you may insert
a comment, about the configuration described by the parameters in the
file, at the start of the file with a text editor.
QCONFIG returns the following exit codes:-
0 - File parsed and Q-PC graphics board initialized O.K.
1 - There were invalid options on the shell command line.
TECHNICAL INFORMATION
The QPDM's SXT register is set to half what it should be to avoid funnies with
large values, unless the -b option is used with non Q2000 versions of
QINIT/QCONFIG. A 0 in the SYT register means 4096.
The default QPDM drawing modes set are :-
viewport 0,0 = screen bottom left
scale factor = unity ie no scaling
activity bits = 0x0f
listen bits = 0x0f
clipping, picking and Logical PEL are disabled
For old style Q-PC configuration files with TYPE parameters:-
The palette overlay is turned on for board types 1 & 2 when the on
screen Y resolution isn't greater than the memory fold.
For Q-PC configuration files with PLANES parameters:-
The top 4 bits of the plane mask are used to turn on the palette overlay
planes when the on screen Y resolution isn't greater than the memory
fold.
The default memory configuration is that of a 1M QPC2
ie a short 1M Q-PC/Datapath 1024 board which is as follows:-
2048, 1024, /* memory size */
512, /* memory fold */
0, /* board type */
0, /* board flags */
0x0f, /* planes fitted - mainly for monochrome card */
Ian Partridge
V2.09 29 NOV 91
DATAPATH Ltd
Alfreton Road
Derby
DE2 4AD
ENGLAND
Tel. (0332) 294441
Fax. (0332) 290667